package com.wjc.train.business.repository;

import com.wjc.train.business.entity.TrainSeat;
import com.wjc.train.business.mapper.TrainSeatMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wjc.train.business.req.TrainSeatQueryReq;
import com.wjc.train.business.resp.TrainSeatQueryResp;

/**
 * <p>
 * 座位表 仓储类
 * </p>
 *
 * @author Guessed
 * @since 2023-08-03
 */
@Repository
public class TrainSeatRepository extends ServiceImpl<TrainSeatMapper, TrainSeat> implements IService<TrainSeat>  {

   public IPage<TrainSeatQueryResp> queryList(IPage<TrainSeatQueryResp> page, TrainSeatQueryReq trainseatQueryReq) {
        return baseMapper.queryList(page,trainseatQueryReq);
    }


}